﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Threading;
using System.Globalization;

public partial class BrowseProducts : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Request.QueryString["Dep1ID"] == "17")
            lblTitle.Text = "Sản phẩm đang khuyến mãi";
        else if (Request.QueryString["Dep1ID"] == "19")
            lblTitle.Text = "Sản phẩm bán chạy";
        else
            lblTitle.Text = "Sản phẩm";
    }

    protected override void InitializeCulture()
    {
        Thread.CurrentThread.CurrentUICulture = new CultureInfo("vi-VN");
        Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture("vi-VN");
    }
}
